import 'package:flutter_ahj_app/app/changeDefaultPwd/ChangeDefaultPWDModel.dart';
import 'package:flutter_ahj_app/base/basewidget/viewmodel/BaseViewModel.dart';

import 'BaseData.dart';

class ChangeDefaultPWDViewModel extends BaseViewModel<ChangeDefaultPWDModel> {
  @override
  ChangeDefaultPWDModel get initModel => ChangeDefaultPWDModel();

  Stream<BaseData> dataStream() => model.dataStream;

  changePwd(String newPassword) {
    model.requestMethod(newPassword);
  }
}
